package com.nashuju.web.dao.role;

import org.apache.ibatis.annotations.Param;
import org.durcframework.core.dao.BaseDao;

import com.nashuju.web.entity.role.UserRole;
import com.nashuju.web.entity.role.UserRoleParam;

public interface UserRoleDao extends BaseDao<UserRole> {
    void delAllUserRole(@Param("username") String username);

    void setUserRole(UserRoleParam userRoleParam);

    void delByRoleId(@Param("roleId") int roleId);
}
